﻿/*
 * Returns the maximum integer value supported by SQL Server.
 */
create function [Int].[MaxValue] ()
returns int as
begin

  return 2147483647;

end